{include common/header}
{include common/left}
<div id="content">  
   <ul class="breadcrumb">
    <li><a href="__ROOT__"><i class="icon-home"></i>首页</a> <span class="divider">/</span></li>
    <li class="active">用户管理 <span class="divider">/</span></li>
    <li class="active">添加用户</li>
   </ul>
  <div class="container-fluid">
    <div class="row-fluid">
      <div class="span12">
        <div class="widget-box">
          <div class="widget-title">           
            <h5><span class="icon"> <i class="icon-align-justify"></i> </span>添加用户</h5>
          </div>
          <div class="widget-content nopadding">
            <form action="{url('member/add')}" method="post" class="form-horizontal">
              <div class="control-group">
                <label class="control-label">用户名</label>
                <div class="controls">
                  <input name="username" type="text" />
                </div>
              </div>
              
              <!--确认密码-->
              <div class="control-group">
                <label class="control-label">密码</label>
                <div class="controls">
                  <input type="password" name="password">
                </div>
              </div>
              <div class="control-group">
                <label class="control-label">确认密码</label>
                <div class="controls">
                  <input type="password" name="password2">
                </div>
              </div>
              <div class="control-group">
                <label class="control-label">邮箱</label>
                <div class="controls">
                  <input type="text" name="email">
                </div>
              </div>
              <div class="control-group">
                <label class="control-label">用户类型</label>
                <div class="controls">
                  <select name="usergroup">
                  {loop $groups $group}
                  <option value="{$group['id']}">{$group['name']}</option>                  
                  {/loop}
                  </select>
                </div>
              </div>
              
        <div class="control-group">
          <label class="control-label">真实姓名</label>
          <div class="controls">
            <input type="text" name="name" />
          </div>
        </div>
       
        <div class="control-group">
          <label class="control-label">电话号码</label>
          <div class="controls">
            <input type="text" name="phone" />
          </div>
        </div>
        <div class="control-group">
          <label class="control-label">手机号码</label>
          <div class="controls">
            <input type="text" name="mobile" />
          </div>
        </div>
        <div class="control-group">
          <label class="control-label">QQ号码</label>
          <div class="controls">
            <input type="text" name="qq" />
          </div>
        </div>
        <div class="control-group">
          <label class="control-label">地址</label>
          <div class="controls">
            <input type="text" name="addrss" />
          </div>
        </div>
        
        <div class="control-group">
          <label class="control-label">门店</label>
          <div class="controls">
            <input type="text" name="shop" />
          </div>
        </div>
        <div class="control-group">
          <label class="control-label">公司名称</label>
          <div class="controls">
            <input type="text" name="company" />
          </div>
        </div>
        <div class="control-group">
          <label class="control-label">公司地址</label>
          <div class="controls">
            <input type="text" name="company_address" />
          </div>
        </div>
        
        
              <div class="form-actions">
                <input type="submit" class="btn btn-primary" value="确认">
              </div>
            </form>
          </div>
        </div>
        
      </div>
    </div>
  </div>
</div>
{include common/footer}